{% extends 'org_base.html' %}
{% load static %}

{% block title %}
    课程机构列表页
{% endblock %}
{% block page_path %}课程机构列表页{% endblock %}
{% block right_form %}
    <div class="right companycenter layout grouping" >
        <div class="head">
            <h1>全部课程</h1>
        </div>
        <div class="brief group_list">
            {% for course in all_course %}
                <div class="module1_5 box">
                    <a href="{% url 'org:org_desc' course_org.id %}"><img width="214" src="{{ MEDIA_URL }}{{ course.image }}"/></a>
                    <div class="des">
                        <a href="{% url 'org:org_desc' course_org.id %}"><h2>{{ course.name }}</h2></a>
                        <span class="fl">课时：<i class="key">{{ course.learn_times }}</i></span>
                        <span class="fr">参加人数：{{ course.students }}</span>
                    </div>
                    <div class="bottom">
                        <span class="fl">{{ course.course_org.name }}</span>
                         <span class="star fr  notlogin
                            " data-favid="13"  data-fav-type="4">
                            {{ course.fav_num }}
                        </span>
                    </div>
                </div>
            {% endfor %}

        </div>
    </div>
{% endblock %}